package com.service.serviceImpl.base;

import java.util.List;

/**
 * Created by Administrator on 2018-10-11 0011.
 */
public interface BaseService<T> {

    T getById(Integer id) throws Exception;

    boolean insert(T t) throws Exception;

    boolean deleteById(Integer id) throws Exception;

    boolean update(T t) throws Exception;

    List<T> getList(T t) throws Exception;

}
